package com.desire.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;

/**
 * @author LittleDesire
 * @description
 * @date 2022-04-16 周六 15:29
 * @since 17
 */
@Data @TableName("t_student")
public class Student {
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;
    @TableField(value = "student_name")
    private String name;
    @TableField(value = "addr")
    private String address;
    private LocalDate birthday;

}
